package com.qianfeng.db5.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qianfeng.db5.mapper.UserMapper;
import com.qianfeng.pojo.User;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserMapper userMapper;
	
	@Override
	public void saveUser(User user) {
		userMapper.addUser(user.getId(),user.getUsername(), user.getBirthday());
	
	}

}
